{extend name="AdminPublic/public"}
{block name="admin"}
<div class="row"> 
   <div class="col-lg-12"> 
    <section class="panel"> 
     <header class="panel-heading"> 
      <span style="font-size:20px;">您的位置 :</span> 
      <span style="color:#65CEA7;">公告管理 &gt; 公告列表</span> 
      <span class="tools pull-right"> <a href="javascript:;" class="fa fa-chevron-down"></a> <a href="javascript:;" class="fa fa-times"></a> </span> 
     </header> 
     <div class="panel-body"> 
<!-- 搜索开始 --> 
      <!-- <div id="editable-sample_wrapper" class="dataTables_wrapper form-inline" role="grid">
       <div class="row">
        <div class="col-lg-6">
         <div id="editable-sample_length" class="dataTables_length">
          <label><select size="1" name="editable-sample_length" aria-controls="editable-sample" class="form-control xsmall"><option value="5" selected="selected">5</option><option value="15">15</option><option value="20">20</option><option value="-1">All</option></select> records per page</label>
         </div>
        </div>
        <div class="col-lg-6">
         <div class="dataTables_filter" id="editable-sample_filter">
          <label>Search: <input type="text" aria-controls="editable-sample" class="form-control medium" /></label>
         </div>
        </div>
       </div>
       <table class="table table-striped table-hover table-bordered dataTable" id="editable-sample" aria-describedby="editable-sample_info">  -->
<!-- 搜索结束 --> 

<!-- 不加搜索版开始 --> 
        <div id="editable-sample_wrapper" class="dataTables_wrapper form-inline" role="grid">
       <div class="row">
        <div class="col-lg-6">
         <div id="editable-sample_length" class="dataTables_length"></div>
        </div>
       </div> 
       <table class="table table-striped table-hover table-bordered dataTable" id="editable-sample" aria-describedby="editable-sample_info"> 
<!-- 不加搜索版结束  --> 
        <thead> 
         <tr role="row"> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Last Name: activate to sort column ascending" style="text-align:center;width: 100px;">ID</th> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Points: activate to sort column ascending" style="text-align:center;width: 178px;">公告标题</th> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Status: activate to sort column ascending" style="text-align:center;width: 143px;">开始时间</th> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Edit: activate to sort column ascending" style="text-align:center;width:143px;">结束时间</th> 
          <th class="sorting" role="columnheader" tabindex="0" aria-controls="editable-sample" rowspan="1" colspan="1" aria-label="Delete: activate to sort column ascending" style="text-align:center;width: 112px;">操作</th> 
         </tr> 
        </thead> 
        <tbody role="alert" aria-live="polite" aria-relevant="all"> 
        {foreach name="notice" item="row"}
         <tr class="even"> 
          <td class=" ">{$row['id']}</td> 
          <td class=" ">{$row['title']}</td> 
          <td class=" ">{$row['begintime']}</td> 
          <td class=" ">{$row['endtime']}</td> 
          <td class=" " style="text-align:center;width:180px;"> 
            <div class="btn-group btn-group-justified">
                <a href="/adminnotice/show/id/{$row['id']}" class="btn btn-success">查看内容</a>
                <a href="/adminnotice/delete/id/{$row['id']}" class="btn btn-info">删除</a>
                <a href="/adminnotice/edit/id/{$row['id']}" class="btn btn-danger">编辑</a>
            </div>
           </td> 
         </tr>
         {/foreach} 
        </tbody> 
       </table> 
<!-- 分页开始 --> 
      <!--  <div class="row">
        <div class="col-lg-6"></div>
        <div class="col-lg-6">
         <div class="dataTables_paginate paging_bootstrap pagination">
          <ul>
           <li class="prev disabled"><a href="#">← Prev</a></li>
           <li class="active"><a href="#">1</a></li>
           <li><a href="#">2</a></li>
           <li><a href="#">3</a></li>
           <li><a href="#">4</a></li>
           <li><a href="#">5</a></li>
           <li class="next"><a href="#">Next → </a></li>
          </ul>
         </div>
        </div>
       </div>
      </div>  -->
<!-- 分页结束 --> 
     </div> 
    </section>
   </div>  
  </div> 
{/block}